# 编码和解码
# encode() ， decode()
my_string = '人生苦短，我用Python'
print(my_string)

# 转成utf-8编码格式
my_encode = my_string.encode('utf-8')
print(my_encode)
# 解码
my_decode = my_encode.decode('utf-8')
print(my_decode)
